package com.ev.k3cloudBusiness.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.ev.k3cloud.entity.K3CloudBaseNumberMetaEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "K3StkTransferInsertVo", description = "直接调拨单新增vo")
public class K3StkTransferInsertVo {

    @JSONField(ordinal = 8)
    @ApiModelProperty("调入库存组织")
    private K3CloudBaseNumberMetaEntity fstockOrgId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 11)
    @ApiModelProperty("日期")
    private String fdate="";

    @JSONField(ordinal = 1)
    @JsonIgnore
    @ApiModelProperty("单据类型")
    private K3CloudBaseNumberMetaEntity fbilltypeId = new K3CloudBaseNumberMetaEntity("ZJDB01_SYS");

    @JSONField(ordinal = 9)
    @JsonIgnore
    @ApiModelProperty("调入货主类型")
    private String fownerTypeIdHead = "BD_OwnerOrg";

    @JSONField(ordinal = 10)
    @ApiModelProperty("调入货主")
    private K3CloudBaseNumberMetaEntity fownerIdHead=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 4)
    @JsonIgnore
    @ApiModelProperty("调拨类型")
    private String ftransferBizType = "InnerOrgTransfer";

    @JSONField(ordinal = 2)
    @JsonIgnore
    @ApiModelProperty("业务类型")
    private String fbizType = "NORMAL";

    @JSONField(ordinal = 6)
    @JsonIgnore
    @ApiModelProperty("调出货主类型")
    private String fownerTypeOutIdHead = "BD_OwnerOrg";

    @JSONField(ordinal = 7)
    @ApiModelProperty("调出货主")
    private K3CloudBaseNumberMetaEntity fownerOutIdHead=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 5)
    @ApiModelProperty("调出库存组织")
    private K3CloudBaseNumberMetaEntity fstockOutOrgId=new K3CloudBaseNumberMetaEntity("");

    @JSONField(ordinal = 3)
    @JsonIgnore
    @ApiModelProperty("调拨方向")
    private String ftransferDirect = "GENERAL";

    @JSONField(ordinal = 12)
    @JsonIgnore
    @ApiModelProperty("车号")
    private String FDriverTel = "无";

    @JSONField(ordinal = 13)
    @ApiModelProperty("明细信息")
    private List<K3StkTransferEntryInsertVo> fbillEntry=new ArrayList<>();
}
